#!/bin/bash
while read line;do
	if [ $[`echo $line |cut -d: -f3` % 2] -eq 0 ];then
		echo -e  "username: `echo $line | cut -d: -f1`  uid: `echo $line |cut -d: -f3`\t"
	fi
done < /etc/passwd
